package com.shiguiwu.springmybatis.spring.beanFactory;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.stereotype.Component;

/**
 * @description: BeanFactoryPostProcessor
 * @author: stone
 * @date: Created by 2021/4/29 17:59
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.beanFactory
 */
@Component
public class MyBeanFactoryPostProcessor implements BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        //DefaultListableBeanFactory factory = (DefaultListableBeanFactory) beanFactory;
        //System.out.println(factory.getBeanPostProcessors());

    }
}
